package com.yanqu.road.server.logic.system;

import com.yanqu.road.server.gameplayer.GamePlayer;
import com.yanqu.road.server.gameplayer.module.activity.yingxin.YingXinModule;

public class SystemOpenYingXin extends BaseSystemOpen {

    public SystemOpenYingXin(int systemId, GamePlayer player) {
        super(systemId, player);
    }

    @Override
    public void initSystem() {
        YingXinModule module = player.getModule(YingXinModule.class);
        module.checkUserData();
        module.syncConfig();
        module.syncData();
    }
}
